package com.yhy.wxzn.wms.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 出库明细
 * @Author: jeecg-boot
 * @Date:   2023-11-08
 * @Version: V1.0
 */
@Data
@TableName("wms_pick_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wms_pick_detail对象", description="出库明细")
public class WmsPickDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**所属拣货单*/
	@Excel(name = "所属拣货单", width = 15)
    @ApiModelProperty(value = "所属拣货单")
    private java.lang.String pickId;
	/**行号*/
	@Excel(name = "行号", width = 15)
    @ApiModelProperty(value = "行号")
    private java.lang.Integer lineNo;
	/**物料*/
	@Excel(name = "物料", width = 15)
    @ApiModelProperty(value = "物料")
    private java.lang.String itemId;
    private transient java.lang.String itemCode;
    private transient java.lang.String itemName;
    @Dict(dicCode = "wms_base_unit")
    private transient java.lang.String baseUnit;
	/**分配数量*/
	@Excel(name = "分配数量", width = 15)
    @ApiModelProperty(value = "分配数量")
    private BigDecimal allocateQty;
	/**已拣货数量*/
	@Excel(name = "已拣货数量", width = 15)
    @ApiModelProperty(value = "已拣货数量")
    private BigDecimal pickedQty;
    /**已发货数量*/
    @Excel(name = "已发货数量", width = 15)
    @ApiModelProperty(value = "已发货数量")
    private BigDecimal shipQty;
	/**已过账数量*/
	@Excel(name = "已过账数量", width = 15)
    @ApiModelProperty(value = "已过账数量")
    private BigDecimal syncQty;
	/**生产日期*/
	@Excel(name = "生产日期", width = 15)
    @ApiModelProperty(value = "生产日期")
    private java.util.Date lot01;
	/**销售单*/
	@Excel(name = "销售单", width = 15)
    @ApiModelProperty(value = "销售单")
    private java.lang.String lot02;
	/**供应商代码*/
	@Excel(name = "供应商代码", width = 15)
    @ApiModelProperty(value = "供应商代码")
    private java.lang.String lot03;
	/**ERP代码*/
	@Excel(name = "ERP代码", width = 15)
    @ApiModelProperty(value = "ERP代码")
    private java.lang.String lot04;
	/**等级*/
	@Excel(name = "等级", width = 15)
    @ApiModelProperty(value = "等级")
    private java.lang.String lot05;
	/**档次*/
	@Excel(name = "档次", width = 15)
    @ApiModelProperty(value = "档次")
    private java.lang.String lot06;
	/**SN号*/
	@Excel(name = "SN号", width = 15)
    @ApiModelProperty(value = "SN号")
    private java.lang.String lot07;
	/**需求数量*/
	@Excel(name = "需求数量", width = 15)
    @ApiModelProperty(value = "需求数量")
    private BigDecimal demonQty;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsOrderStatusEnums}
     * */
    @Dict(dicCode = "wms_order_status")
    private java.lang.Integer detailStatus;
	/**过账状态*/
	@Excel(name = "过账状态", width = 15)
    @ApiModelProperty(value = "过账状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsSyncStatusEnums}
     * */
    @Dict(dicCode = "wms_sync_status")
    private java.lang.Integer syncStatus;
    /**分配状态*/
    @Excel(name = "分配状态", width = 15)
    @ApiModelProperty(value = "分配状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsOrderStatusEnums}
     * */
    @Dict(dicCode = "wms_order_status")
    private java.lang.Integer allocateStatus;
    /**发货状态*/
    @Excel(name = "发货状态", width = 15)
    @ApiModelProperty(value = "发货状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsOrderStatusEnums}
     * */
    @Dict(dicCode = "wms_order_status")
    private java.lang.Integer shipStatus;
}
